-
Notifications
You must be signed in to change notification settings - Fork 798
fix merge with upstream kernel attribute refactor #18868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Sarnie, Nick <[email protected]>
|
Hi @intel/dpcpp-cfe-reviewers @premanandrao @Fznamznon , can someone take a look at this? It's not complicated but it's not really trivial either. Thanks! |
Fznamznon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I'm slightly worried about this, because we use sycl_kernel attribute in the downstream and we managed to upstream it at some point, but the clang upstreaming team last year decided that we should invent a new attribute for these purposes called sycl_kernel_entry point and we will need to clean this mess at some point, but that is not your problem atm. cc @tahonermann
| // so handle that case manually. | ||
| return A.getAttributeSpellingListIndex() == Keyword_kernel || | ||
| A.getAttrName()->getName() == "kernel"; | ||
| (A.getAttrName() && A.getAttrName()->getName() == "kernel"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this change specific to this downstream?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry it's not but the issue was only exposed downstream, I'll fix it upstream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
btw about |
Signed-off-by: Sarnie, Nick <[email protected]>
|
thanks mariya! |
Fix merge with my upstream change to refactor the device kernel attribute here.